<!-- Main Column -->
<div id="maincolumn">
<h2 class="main cpwd" id="main-title">New Category</h2>
<!-- Visual help : help tips and "Connected" label -->
  <!-- Create Poll address -->
	  <?=form_open(admin_url().'pr_category_cl/page_update_category/'.$category_data[0]['cat_id'], array('name' => 'newCategory','id' => 'newCategory'))?>
              <dl class="small"><!-- ODF Name -->
                  <dt>
                      <label>Category Name</label>                                    
                  </dt>
                  <dd>
                      <?=form_input(array('name' 		=> 'cat_name',
                                          'id' 			=> 'cat_name',
                                          'class' 		=> 'inputtext w180 title',
										  'value'		=>$category_data[0]['cat_name']
                                          ))?>			
                        
                  </dd>
              </dl>
              <dl class="small"><!-- ODF GPS Latitude -->
                <dt>
                    <label>Description</label>                                    
                </dt>
                <dd>
                   <?=form_input(array('name' 		=> 'cat_des',
                                      'id' 			=> 'cat_des',
                                      'class' 		=> 'inputtext w180',
									  'value'		=>$category_data[0]['cat_des']
                                      ))?>
                    
                </dd>
              </dl>
              
             <dl class="small"><!-- ODF GPS Latitude -->
                <dt>
                    <label>Image</label>                                    
                </dt>
                <dd>
                   <?=form_input(array('name' 		=> 'cat_image',
                                      'id' 			=> 'cat_image',
                                      'class' 		=> 'inputtext w180',
									  'value'		=>$category_data[0]['cat_image']
                                      ))?>
                    
                </dd>
          	 </dl>
          
            <!--button save and cancel -->
            <div class="buttons">	
                <input id="bSave" type="button" class="button yes right mr40" value="<?= lang('pr_button_save') ?>" style="height:30px;width:50px;"/>
          		<input id="bCancel" type="button" class="button no right" value=" <?= lang('pr_button_cancel') ?>" style="height:30px;width:50px;"/>      	
            </div>
      <?=form_close()?>
</div> <!-- /maincolumn -->

<script type="application/javascript">	
		
	// submit for creating Poll location
	//ION.setFormSubmit('newProduct', 'pd_Save', 'pr_product/page_insert_product');
	/*$('bSave1').addEvent('click', function(e){
		e.stop();
		MUI.Content.update({
			'loadMethod': 'xhr',
			'url': admin_url + 'pr_product/get_list_product',
			'title': Lang.get('Product Management')
		});
	});*/
	
</script>

